package com.jianjun.ktui.ui

import androidx.lifecycle.ViewModel
import androidx.savedstate.SavedState
import androidx.savedstate.savedState
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.flow.asStateFlow

/**
 *
 * @author source
 * {@code @date} 2025/8/11 08:59
 */
class SavedStateViewModel : ViewModel() {
    private val _uiState = MutableStateFlow(savedState())
    val uiState: StateFlow<SavedState> = _uiState.asStateFlow()
}